from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'overfish.views.home', name='home'),
    # url(r'^overfish/', include('overfish.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
        {'document_root': '/home/wrana/workspace/bakalarka/overfish/overfish/document_root'}),
    (r'^admin/modDefault/Dashboard/$', 'overfish.modDefault.views.backend.dashboard'),
    (r'^admin/login/$', 'overfish.libs.auth.views.login', {u"redirect_field_name": u"/modDefault/Dashboard/", 'template_name': 'auth/login.html'}),
)
